import {defineStore} from "pinia";

//@ts-ignore
export default defineStore('appStore',{
    state:()=>{
        return {
            n: 1,
            token:'',
            user: {}
        }
    },
    actions:{

    },
    persist:{
        enabled:true,
        strategies:[
            {
                key:'appStore',
                storage:localStorage
            }
        ]

    }
})